﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VirtualTournaments.Business.Tournaments
{
	public class MatchWithPenaltiesFactory : MatchWithWinnerFactory
	{
		private static MatchWithPenaltiesFactory INSTANCE = new MatchWithPenaltiesFactory();

		private MatchWithPenaltiesFactory() : base() { }

		public override Match CreateMatch(Tournament tournament, Team local, Team visitor)
		{
			return new MatchWithPenalties(tournament, local, visitor);
		}

		public static new MatchWithPenaltiesFactory GetInstance()
		{
			return INSTANCE;
		}

	}
}
